package com.atguigu.yygh.cmn.service;

import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author kabuda
 * @create 2023-02-24 8:42
 */
public interface IDictService extends IService<Dict> {


    List<Dict> findChildData(Long id);

    void importExcel(MultipartFile file);

    List<Dict> exportExcel(HttpServletResponse response);

    String getName(String dictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
